export interface IMenuQueryParams {
    name: string;
}


export interface IMenuModel {
    name: string;
    type: "M" | "C" | "Q";
    path: string;
    icon: string;
    component: string;
    parent: number;
    sort: number;
    is_cache: 0 | 1;
    is_display: 0 | 1;
}


export interface IMenuResponse extends IMenuModel {
    id: number;
    children?: IMenuResponse[];
    created_at: string;
    updated_at: string;
}
